// miniprogram/pages/index/admin/admin.js
const db = wx.cloud.database()
const _=db.command;
Page({
  toReviewRegist: function(){
    wx.navigateTo({
      url: 'review_regist/review_regist',
    })
  },
  toReviewJob: function(){
    wx.navigateTo({
      url: 'review_job/review_job',
    })
  },
  toReviewSpeech: function(){
    wx.navigateTo({
      url: 'review_speech/review_speech',
    })
  },
  toManagedCompany: function(){
    wx.navigateTo({
      url: 'managed_company/managed_company',
    })
  },
  toManagedSpeech: function(){
    wx.navigateTo({
      url: 'managed_speech/managed_speech',
    })
  },
  toManagedJob: function(){
    wx.navigateTo({
      url: 'managed_job/managed_job',
    })
  },
  toManagedStudent: function(){
    wx.navigateTo({
      url: 'managed_student/managed_student',
    })
  },
  toAnnounce: function(){
    wx.navigateTo({
      url: 'announce/announce',
    })
  },
  toManagedResume: function(){
    wx.navigateTo({
      url: 'managed_resume/managed_resume',
    })
  },
  /**
   * 页面的初始数据
   */
  data: {
    company_regists: []
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})